class MusicData {
  final int songId;
  final String title;
  final String artist;
  final String genre;
  final int spbLevel;
  final int spnLevel;
  final int sphLevel;
  final int spaLevel;
  final int splLevel;
  final int dpbLevel;
  final int dpnLevel;
  final int dphLevel;
  final int dpaLevel;
  final int dplLevel;
  final String bgaFilename;

  MusicData({
    required this.songId,
    required this.title,
    required this.artist,
    required this.genre,
    required this.spbLevel,
    required this.spnLevel,
    required this.sphLevel,
    required this.spaLevel,
    required this.splLevel,
    required this.dpbLevel,
    required this.dpnLevel,
    required this.dphLevel,
    required this.dpaLevel,
    required this.dplLevel,
    required this.bgaFilename
  });

  MusicData.fromJson(Map<String, dynamic> json)
    : songId = json['songId'] as int,
      title = json['title'] as String,
      artist = json['artist'] as String,
      genre = json['genre'] as String,
      spbLevel = json['spbLevel'] as int,
      spnLevel = json['spnLevel'] as int,
      sphLevel = json['sphLevel'] as int,
      spaLevel = json['spaLevel'] as int,
      splLevel = json['splLevel'] as int,
      dpbLevel = json['dpbLevel'] as int,
      dpnLevel = json['dpnLevel'] as int,
      dphLevel = json['dphLevel'] as int,
      dpaLevel = json['dpaLevel'] as int,
      dplLevel = json['dplLevel'] as int,
      bgaFilename = json['bgaFilename'] as String;


}